<template>
  <paper-history-detail :is-edit="true" :is-view="view" />
</template>

<script>
import PaperHistoryDetail from "./components/PaperHistoryDetail";
export default {
  name: "EditPaper",
  components: { PaperHistoryDetail },
  data() {
    return {
      view: false,
    };
  },
  created() {
    if (this.$route.query.page === "view") {
      this.view = true;
    } else {
      this.view = false;
    }
  },
};
</script>
